package com.lq.principle.singleresponsibility;

public class SingleResponsebility3 {
    public static void main(String[] args) {

    }
}
//方法的单一职责
class Ve4{
    public void roadrun(String s){
        System.out.println(s+"在地上跑");
    }
    public void airrun(String s){
        System.out.println(s+"在空中飞");
    }
}
